using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsDeliveryorderdetailTable : TableInfo
{
public const string C_TABLENAME = "Bs_Deliveryorderdetail";

public const string C_DETAILID = "DETAILID";

public const string C_BILLID = "BILLID";

public const string C_WORKORDERNO = "WORKORDERNO";

public const string C_PRODUCTID = "PRODUCTID";

public const string C_NUMS = "NUMS";

public const string C_AMOUNT = "AMOUNT";

public const string C_REMARK = "REMARK";

public BsDeliveryorderdetailTable()
{
_tableName = "Bs_Deliveryorderdetail";
}

protected static BsDeliveryorderdetailTable _current;
public static BsDeliveryorderdetailTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsDeliveryorderdetailTable();

_current.Add(C_DETAILID, new ColumnInfo(C_DETAILID, "", true, typeof(Decimal?)));

_current.Add(C_BILLID, new ColumnInfo(C_BILLID, "", false, typeof(String)));

_current.Add(C_WORKORDERNO, new ColumnInfo(C_WORKORDERNO, "", false, typeof(String)));

_current.Add(C_PRODUCTID, new ColumnInfo(C_PRODUCTID, "", false, typeof(String)));

_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));

_current.Add(C_AMOUNT, new ColumnInfo(C_AMOUNT, "", false, typeof(Decimal?)));

_current.Add(C_REMARK, new ColumnInfo(C_REMARK, "", false, typeof(String)));

}

public ColumnInfo DETAILID
{
get { return this[C_DETAILID]; }
}

public ColumnInfo BILLID
{
get { return this[C_BILLID]; }
}

public ColumnInfo WORKORDERNO
{
get { return this[C_WORKORDERNO]; }
}

public ColumnInfo PRODUCTID
{
get { return this[C_PRODUCTID]; }
}

public ColumnInfo NUMS
{
get { return this[C_NUMS]; }
}

public ColumnInfo AMOUNT
{
get { return this[C_AMOUNT]; }
}

public ColumnInfo REMARK
{
get { return this[C_REMARK]; }
}

}
}